﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.Model
{
    /// <summary>
    /// 以数据库表中数据为基础的常量，表中数据修改时此处要一同修改
    /// </summary>
    public class SysUserBtn
    {
        public readonly static string Add = "105102100";
        public readonly static string Edit = "105102101";
        public readonly static string Delete = "105102102";
        public readonly static string SetRole = "105102103";
    }

    /// <summary>
    /// 以数据库表中数据为基础的常量，表中数据修改时此处要一同修改
    /// </summary>
    public class SysRoleBtn
    {
        public readonly static string Add = "105103100";
        public readonly static string Edit = "105103101";
        public readonly static string Delete = "105103102";
        public readonly static string SetMenu = "105103103";
    }

    /// <summary>
    /// 以数据库表中数据为基础的常量，表中数据修改时此处要一同修改
    /// </summary>
    public class SysMenuBtn
    {
        public readonly static string AddSub = "105104100";
        public readonly static string AddSibling = "105104101";
        public readonly static string Edit = "105104102";
        public readonly static string Delete = "105104103";
    }

    /// <summary>
    /// 以数据库表中数据为基础的常量，表中数据修改时此处要一同修改
    /// </summary>
    public class SysDictionaryBtn
    {
        public readonly static string AddSub = "105105100";
        public readonly static string AddSibling = "105105101";
        public readonly static string Edit = "105105102";
        public readonly static string Delete = "105105103";
    }

    /// <summary>
    /// 以数据库表中数据为基础的常量，表中数据修改时此处要一同修改
    /// </summary>
    public class SysJobBtn
    {
        public readonly static string Add = "105109100";
        public readonly static string Edit = "105109101";
        public readonly static string Delete = "105109102";
    }

    public class RoleCode
    {
        /// <summary>
        /// 普通用户角色
        /// </summary>
        public const string OrdinaryUser = "OrdinaryUser";
    }
}
